package com.ez.supervise.model.biz;

import com.ez.supervise.model.base.BaseEntity;

/**
 * 部门考核表
 * 
 */
public class OrgCheck extends BaseEntity {

    private static final long serialVersionUID = 1486831631000221233L;

    private Long detailId;// 指标细则id
    private Long orgId;// 被考核部门组织id
    private String goStatus;// 该考核指标的进展状态
    private String finishResult;// 该考核指标的完成情况
    private Double score;// 考核得分（考核责任单位的打分）
    private Double selfScore;// 自评分
    private String memo;// 备注，预留
    private Long checkOrgId;// 考核责任单位id
    private String checkResult;// 审核意见
    private Integer year;// 考核年度
    private String type;// 指标类型：self 自荐指标 normal：正常考核指标
    private String checkStatus; //考核状态：new：新建，self：自已已填报　audit: 已考核

    public static final String TYPE_NORMAL = "normal";// 正常考核指标
    public static final String TYPE_SELF = "self";// 自荐指标

    public static final String GO_STATUS_WELL = "well";// 进展顺利
    public static final String GO_STATUS_BAD = "bad";// 不顺利
    public static final String GO_STATUS_PLAN = "plan";// 按计划进行
    public static final String GO_STATUS_AHEAD = "ahead";// 超前完成
    public static final String GO_STATUS_BEHIND = "behind";// 已落后

    public static final String CHECK_STATUS_NEW = "new";// 新建
    public static final String CHECK_STATUS_SELF = "self";// 自已已填报
    public static final String CHECK_STATUS_AUDIT = "audit";// 已考核

    public OrgCheck() {
	super();
    }
    public OrgCheck(Long orgId, Long goalId, String goalType) {
	this();
	this.orgId = orgId;
	this.detailId = goalId;
	this.type = goalType;
    }
    public Long getDetailId() {
	return detailId;
    }

    public void setDetailId(Long detailId) {
	this.detailId = detailId;
    }

    public Long getOrgId() {
	return orgId;
    }

    public void setOrgId(Long orgId) {
	this.orgId = orgId;
    }

    public String getGoStatus() {
	return goStatus;
    }

    public void setGoStatus(String goStatus) {
	this.goStatus = goStatus;
    }

    public String getFinishResult() {
	return finishResult;
    }

    public void setFinishResult(String finishResult) {
	this.finishResult = finishResult;
    }

    public Double getScore() {
	return score;
    }

    public void setScore(Double score) {
	this.score = score;
    }

    public Double getSelfScore() {
	return selfScore;
    }

    public void setSelfScore(Double selfScore) {
	this.selfScore = selfScore;
    }

    public String getMemo() {
	return memo;
    }

    public void setMemo(String memo) {
	this.memo = memo;
    }

    public Long getCheckOrgId() {
	return checkOrgId;
    }

    public void setCheckOrgId(Long checkOrgId) {
	this.checkOrgId = checkOrgId;
    }

    public String getCheckResult() {
	return checkResult;
    }

    public void setCheckResult(String checkResult) {
	this.checkResult = checkResult;
    }

    public Integer getYear() {
	return year;
    }

    public void setYear(Integer year) {
	this.year = year;
    }

    public String getType() {
	return type;
    }

    public void setType(String type) {
	this.type = type;
    }

    public void setCheckStatus(String checkStatus) {
	this.checkStatus = checkStatus;
    }

    public String getCheckStatus() {
	return checkStatus;
    }

}
